package com.cfpl.admin_service.VO;

import com.cfpl.project_common.pojo.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther: LYP
 * @Date: 2023/10/12 - 19:46
 * @Description: com.cfpl.admin_service.VO
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminLoginVO {
    // id
    private Long adminId;
    //    用户名
    private String username;
    //    头像
    private String adminHeadpic;
    //    token
    private String token;
    //存储权限信息
    private List<String> permissionList;
    //    存储角色信息
    private List<Role> roleList;
}
